Routes an entity read request to the underlying data store, so that the first TEntity in the order defined by TOrderingCriteria is obtained.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

TEntity GetFirst( 
TOrderingCriteria orderingCriteria 
)
This language is not supported or no code example is available.

Parameters

orderingCriteria

Type: TOrderingCriteria

The ordering criteria.

Return Value

The requested TEntity.
Exception type Condition

InvalidOperationException

If this operation is inconsistent according to the state of the underlying data store.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono